package org.misalen.web.database.model.mysql.pro;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.misalen.annotations.Enumeration;
import org.misalen.annotations.ModelComment;
import org.misalen.web.database.model.mysql.BaseSqlModel;

/**
 * 地图广告支付信息
 * 
 * @author jianhun
 *
 */
@Entity
@Table(name = "ProWebPayInfo")
@DynamicInsert(true)
@DynamicUpdate(true)
public class ProWebPayInfo extends BaseSqlModel {

	@ModelComment("网页广告id")
	@Column(name = "webId", nullable = false)
	private String webId;

	@Enumeration("pro-extract-type")
	@ModelComment(value = "支付方式")
	@Column(name = "payType", nullable = false)
	private String payType;

	/**
	 * 获取payType
	 * 
	 * @return payType payType
	 */
	public String getPayType() {
		return payType;
	}

	/**
	 * 设置payType
	 * 
	 * @param payType
	 *            payType
	 */
	public void setPayType(String payType) {
		this.payType = payType;
	}

	/**
	 * 获取webId
	 * 
	 * @return webId webId
	 */
	public String getWebId() {
		return webId;
	}

	/**
	 * 设置webId
	 * 
	 * @param webId
	 *            webId
	 */
	public void setWebId(String webId) {
		this.webId = webId;
	}

}
